package com.edu.service.imlp;

import com.edu.dao.CommentDao;
import com.edu.dao.impl.CommentDaoImp;
import com.edu.entity.Comment;
import com.edu.service.CommentService;

import java.util.List;

public class CommentServiceImpl implements CommentService {
    CommentDao commentDao = new CommentDaoImp();
    @Override
    public List<Comment> querCommentByCarId(int carId) {
        return commentDao.querCommentByCarId(carId);
    }
}
